package com.panshi.modules.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyh
 * @since 2020-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ThRaiseDown implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 资讯评论,问答回答,问答评论的赞踩关系表
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 点赞用户ID
     */
    @ApiModelProperty(value = "点赞用户ID")
    private Long userId;

    /**
     * 资讯评论ID,问答回答ID,问答评论ID
     */
    @ApiModelProperty(value = "资讯评论ID,问答回答ID,问答评论ID")
    private Long tId;

    /**
     * 类型,10-资讯评论,20-问答回答,30-回答评论
     */
    @ApiModelProperty(value = "类型,10-资讯评论,20-问答回答,30-回答评论")
    private Integer type;

    /**
     * 动作:1-点赞,0-点踩
     */
    @ApiModelProperty(value = "动作:1-点赞,0-点踩")
    private Integer pattern;


}
